home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / Comet.3.0.7 Folder / ibm-host-software / UPLOAD.HELPCMS < prev   
Text File  |  1988-06-28  |  3KB  |  67 lines

  1. .cs 1 on
  2. UPLOAD
  3.  
  4. The UPLOAD command transfers IBM PC or Macintosh files to CMS.
  5.     (Cornell EXEC)
  6.  
  7. .cs 1 off
  8. .cs 2 on
  9. The format of the UPLOAD command is:
  10.  
  11. +----------+------------------------------------------------------------------+
  12. | UPLOAD   | <">source_file<"> <fn|* <ft|* <fm>>> <(options<)>>               |
  13. |          |                                                                  |
  14. |          | options:                                                         |
  15. |          |                                                                  |
  16. |          | <REPlace> <BINary> <lrecl>                                       |
  17. +----------+------------------------------------------------------------------+
  18.  
  19. .cs 2 off
  20. .cs 3 on
  21. where:
  22.  
  23. source_file
  24.           is the name of the file to upload from the microcomputer.
  25.           If the name contains blanks, enclose it in double quotes (").
  26.           Slashes ('/') are interpreted by the microcomputer as directory
  27.           delimiters; thus, a PC interprets them as back-slashes ('\')
  28.           and a Macintosh interprets them as colons (':').
  29.  
  30. fn ft fm  specifies the file name for the CMS file on the mainframe.  If you
  31.           don't specify fn and/or ft, they default to the first and second
  32.           parts of source_file, respectively.  The default for fm is 'A1'.
  33.  
  34. REPLACE   specifies that the uploaded file will overwrite a file with
  35.           that name if it already exists on the mainframe.  If you
  36.           do not specify REPLACE, UPLOAD will stop with an error message
  37.           without overwriting the file if it finds that a CMS file with
  38.           the same name already exists.
  39.  
  40. BINARY    causes the file to be uploaded as a binary file; by default
  41.           the program will perform EBCDIC/ASCII translation and start
  42.           a new line in the CMS file when it encounters a linefeed
  43.           in the micro file.
  44.  
  45. LRECL     tells UPLOAD to create the CMS file with fixed length records of this
  46.           record length (less than 65535).  The default is to create the CMS
  47.           file with variable length records.
  48.  
  49. .cs 3 off
  50. .cs 5 on
  51. Usage Notes:
  52.  
  53. 1.  The UPLOAD EXEC part of the FT3270 and FTC19 file transfer programs
  54.     translates ASCII backslashes to EBCDIC cents signs (hexidecimal code 4A)
  55.     when sending a file from a micro to the mainframe, and DOWNLOAD translates
  56.     EBCDIC backslashes similarly incorrectly when transferring a file from the
  57.     mainframe to a micro.  If you use UPLOAD EXEC to upload C programs from a
  58.     micro you will have to change all 4A codes to E0 codes in these C programs
  59.     before running them with a C compiler on the mainframe, and change E0 codes
  60.     to 4A codes before downloading C programs from the mainframe to a micro
  61.     using DOWNLOAD EXEC.
  62.  
  63.  
  64. Examples:
  65.  
  66. .cs 5 off
  67.